<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>

    <style>
      .content {
        /* 定义变量 */
        --r: 360deg;

        width: 300px;
        height: 300px;
        margin: 0 auto;
        margin-top: 60px;

        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(3, 1fr);

        grid-template:
          "A A B"
          "C D B"
          "C E E";

        grid-gap: 10px;

        animation: rotation 10s infinite linear;
      }

      .item {
        display: flex;
        justify-content: center;
        align-items: center;

        overflow: hidden;

        border: 2px solid #f0f0f0;
      }

      .item img {
        /* 定义变量 */

        --r: -360deg;
        width: 230%;
        height: 230%;
        object-fit: cover;

        animation: rotation 10s infinite linear;
      }

      .item:nth-child(1) {
        grid-area: A;
      }
      .item:nth-child(2) {
        grid-area: B;
      }
      .item:nth-child(3) {
        grid-area: C;
      }
      .item:nth-child(4) {
        grid-area: D;
      }
      .item:nth-child(5) {
        grid-area: E;
      }

      @keyframes rotation {
        to {
          transform: rotate(var(--r));
        }
      }
    </style>
  </head>

  <body>
    <div class="content">
      <div class="item">
        <img src="./img/006N7hEIly1h2rce2bxekj360x40phdx.jpg" alt="" />
      </div>
      <div class="item">
        <img src="./img/006N7hEIly1h2xnzsqjk6j322o33ynpd.jpg" alt="" />
      </div>
      <div class="item">
        <img src="./img/006N7hEIgy1h4b9gqqyikj312i1xzhb3.jpg" alt="" />
      </div>
      <div class="item">
        <img src="./img/神子-表情包.jpg" alt="" />
      </div>
      <div class="item">
        <img src="./img/006N7hEIly1h2rcep8hh5j35wr3xwqv8.jpg" alt="" />
      </div>
    </div>
  </body>
</html>
